package com.summer.campussct.mapper;

import com.summer.campussct.pojo.Vehicle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.summer.campussct.pojo.VehiclePublish;
import com.summer.campussct.pojo.dto.CategoryVehicleInfo;
import com.summer.campussct.pojo.dto.PublishQueryParams;
import com.summer.campussct.pojo.dto.VehicleInfoDto;
import com.summer.campussct.pojo.dto.VehicleQueryParams;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mr.Chen
 * @since 2024-04-21
 */
public interface VehicleMapper extends BaseMapper<Vehicle> {

    List<VehicleInfoDto> getVehicleByUser(PublishQueryParams publishQueryParams);

    List<VehicleInfoDto> getAuditList();

    VehicleInfoDto getVehicleInfoById(long id);
}
